<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>sprox_14443-4_c.html</title>
<!-- Source : c:/temp/springprox_api/sprox_14443-4.c -->
<!-- Doc generated on Thu Jun 24 12:26:30 2010 by johann on PC_DEV_5 -->
<!-- Generated with ROBODoc Version 4.99.8 (Specific build by PRO ACTIVE - Apr 13 2010) -->
<style type="text/css">
body
{
  background-color: #ffffff;
  color: #000000;
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 9pt;
  margin-left: 60px;
  margin-right: 40px;  
}
table
{
  border-collapse: collapse;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;
  margin-bottom: 12px;
}
td
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 9pt;
  vertical-align: top;
  padding-right: 6px;
  border-style: solid;
  border-width: 1px;
  border-color: #dddddd; 
}
th
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 9pt;
  vertical-align: top;  
  padding-right: 6px;
  border-style: solid;
  border-width: 1px;
  border-color: #000000;
  background-color: #dddddd;  
}
h1
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 18pt;
  font-weight: bold;
  margin-bottom: 36px;
  color: #000000;
  margin-left: -40px;
}
h2
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 12pt;
  font-weight: bold;
  margin-top: 48px;
  margin-bottom: 24px;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #dddddd;
  color: #000000;
  margin-left: -40px;
}
h3
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  font-weight: bold;
  margin-top: 36px;
  margin-bottom: 24px; 
  border-style: none;
  border-top-style: solid;  
  border-width: 1px;
  border-color: #cccccc; 
  margin-left: -40px;
}
h4
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 12px;  
}
h5
{
  font-family: Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  font-size: 9pt;
  font-weight: bold;
  margin-top: 12px;
  margin-bottom: 2px;  
}
a
{
  color: #0000ff;
}
p
{
  margin-top: 0px;
  margin-bottom: 6px;  
  width: 600px;
  text-align: justify;
}
ul
{
  margin-top: 0px;
  margin-bottom: 6px;  
  width: 600px;
  text-align: justify;
}
li
{
  margin-top: 0px;
  margin-bottom: 6px;  
  width: 550px;
  text-align: justify;
}
tt
{
  font-family: Courier, Courier New;
  font-size: 10pt;
}
pre
{
  background-color: #ffffff;
  color: #000000;
  font-size: 10pt;
}
.NAV
{
  font-size: 7pt;
}
a.NAV
{
  color: #0000cc;
}
.TOC
{
  font-size: 9pt;
  color: #888888;
}
a.TOC
{
  color: #0000ff;
}
.INDEX
{
  font-size: 9pt;
}
a.INDEX
{
  color: #0000ff;
}
.TYPE
{
  font-size: 7pt;
  color: #888888;
}
.ITEM
{
  font-weight: bold;
  color: #000088;
}
.LABEL
{
  color: #000088;
}
.HISTORY
{
  color: #006600;
}
.AUTHOR
{
  color: #006600;
}
.COPYRIGHT
{
  color: #006600;
}
.PORTABILITY
{
  color: #006600;
}
.WARNING
{
  color: #aa0000;
}

.bitinfo
{
  width: 60px;
  font-style: italic;
  text-align: center;
}

.bitnum
{
  text-align: center;
}

.bitname
{
  font-weight: bold;
  text-align: center;
}

.tabitem
{
  width: 100px;
}

.tabname
{
  width: 200px;
}

.tabdesc
{
  width: 450px;
}

.value
{
  font-family: courier;
  text-align: right;
}

.tabsepar
{
  border-top-style: solid;
  border-bottom-style: solid;
  border-width: 2px;
  border-color: #888888;
  font-style: italic;
  text-align: center;
}
</style>
</head>
<body bgcolor="#FFFFFF">
<a name="robo_top_of_doc"></a>
<h3 align="center">TABLE OF CONTENTS</h3>
<ul>
<li><a class="TOC" href="#robo7">ISO14443-4</a></li>
<li><a class="TOC" href="#robo108">SPROX_Tcl_Deselect</a></li>
<li><a class="TOC" href="#robo109">SPROX_Tcl_Exchange</a></li>
<li><a class="TOC" href="#robo110">SPROX_TclA_ActivateAgain</a></li>
<li><a class="TOC" href="#robo111">SPROX_TclA_ActivateAny</a></li>
<li><a class="TOC" href="#robo112">SPROX_TclA_ActivateIdle</a></li>
<li><a class="TOC" href="#robo113">SPROX_TclA_Deselect</a></li>
<li><a class="TOC" href="#robo114">SPROX_TclA_Exchange</a></li>
<li><a class="TOC" href="#robo115">SPROX_TclA_GetAts</a></li>
<li><a class="TOC" href="#robo116">SPROX_TclA_Halt</a></li>
<li><a class="TOC" href="#robo117">SPROX_TclA_Pps</a></li>
<li><a class="TOC" href="#robo118">SPROX_TclB_ActivateAny</a></li>
<li><a class="TOC" href="#robo119">SPROX_TclB_ActivateIdle</a></li>
<li><a class="TOC" href="#robo120">SPROX_TclB_Attrib</a></li>
<li><a class="TOC" href="#robo121">SPROX_TclB_AttribEx</a></li>
<li><a class="TOC" href="#robo122">SPROX_TclB_Deselect</a></li>
<li><a class="TOC" href="#robo123">SPROX_TclB_Exchange</a></li>
<li><a class="TOC" href="#robo124">SPROX_TclB_Halt</a></li>
</ul>
<h3>&nbsp;</h3>


<h1><a name="robo7"><span class="TYPE">[Modules]</span><a class="LABEL" name="ISO144432d4">
ISO14443-4</a></h1>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./modules.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <a class="LINK_1" href="./springprox_h.html#robo0">SpringProxAPI</a> :: ISO 14443 Layer 4 (T=CL)
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Implementation of ISO/IEC 14443 layer 4 ("T=CL" protocol)
</pre>
</span>


<h2><a name="robo108"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTcl5fDeselect">
SPROX_Tcl_Deselect</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_Tcl_Deselect</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL DESELECT command to an ISO 14443-4 card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid                 : CID of the card
                              (set to 0xFF if you don't use CIDs)
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK                    : success
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo113">SPROX_TclA_Deselect</a>
   <a class="LINK_37" href="#robo122">SPROX_TclB_Deselect</a>
</pre>
</span>


<h2><a name="robo109"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTcl5fExchange">
SPROX_Tcl_Exchange</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_Tcl_Exchange</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Perform a T=CL block exchange according to ISO 14443-4 (without NAD, and
   with card's default FSCI)
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid                 : CID of the card
                              (set to 0xFF if you don't use CIDs)
   const BYTE send_buffer[] : buffer to sens to the card
   WORD send_len            : length of send_buffer (max 256)
   BYTE recv_buffer[]       : buffer for card's answer
   WORD *recv_len           : input  : size of recv_buffer 
                              output : actual length of reply
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK                    : success
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   This function calls either <a class="LINK_23" href="#robo114">SPROX_TclA_Exchange</a> or <a class="LINK_23" href="#robo123">SPROX_TclB_Exchange</a>
   with appropriate parameters depending on CID related informations
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo114">SPROX_TclA_Exchange</a>
   <a class="LINK_37" href="#robo123">SPROX_TclB_Exchange</a>
</pre>
</span>


<h2><a name="robo110"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fActivateAgain">
SPROX_TclA_ActivateAgain</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_ActivateAgain</strong>
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo20">SPROX_A_SelectAgain</a> instead.
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo20">SPROX_A_SelectAgain</a>
</pre>
</span>


<h2><a name="robo111"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fActivateAny">
SPROX_TclA_ActivateAny</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_ActivateAny</strong> 
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo21">SPROX_A_SelectAny</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   This function is nothing more than an alias to <a class="LINK_23" href="./sprox_14443-3_c.html#robo21">SPROX_A_SelectAny</a>, the
   only difference is in the validation of the returned SAK when a card is
   found :
   - if SAK shows that the card supports ISO/IEC 14443-4 (aka T=CL), the
     function returns MI_OK
   - if SAK shows that the card doesn't support ISO/IEC 14443-4 (for example,
     a <a class="LINK_23" href="./sprox_mifare_c.html#robo10">Mifare</a> memory card), the function returns MI_CARD_NOT_TCL
   Of course if no card is found, the function returns MI_NOTAGERR
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo21">SPROX_A_SelectAny</a> 
   <a class="LINK_37" href="#robo112">SPROX_TclA_ActivateIdle</a>
</pre>
</span>


<h2><a name="robo112"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fActivateIdle">
SPROX_TclA_ActivateIdle</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_ActivateIdle</strong>
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo22">SPROX_A_SelectIdle</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   This function is nothing more than an alias to <a class="LINK_23" href="./sprox_14443-3_c.html#robo22">SPROX_A_SelectIdle</a>, the
   only difference is in the validation of the returned SAK when a card is
   found :
   - if SAK shows that the card supports ISO/IEC 14443-4 (aka T=CL), the
     function returns MI_OK
   - if SAK shows that the card doesn't support ISO/IEC 14443-4 (for example,
     a <a class="LINK_23" href="./sprox_mifare_c.html#robo10">Mifare</a> memory card), the function returns MI_CARD_NOT_TCL
   Of course if no card is found, the function returns MI_NOTAGERR
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo22">SPROX_A_SelectIdle</a>
   <a class="LINK_37" href="#robo111">SPROX_TclA_ActivateAny</a>
</pre>
</span>


<h2><a name="robo113"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fDeselect">
SPROX_TclA_Deselect</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_Deselect</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL DESELECT command to an ISO 14443-A-4 card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid           : CID of the card
                        (set to 0xFF if you don't use CIDs)
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success, card deselected
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo115">SPROX_TclA_GetAts</a>
   <a class="LINK_37" href="./sprox_14443-3_c.html#robo19">SPROX_A_Halt</a>
</pre>
</span>


<h2><a name="robo114"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fExchange">
SPROX_TclA_Exchange</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_Exchange</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Perform a T=CL block exchange according to ISO 14443-A-4
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE fsci                : FSCI parameter according to ISO 14443-A
                              (set to 0xFF for default card value)
   BYTE cid                 : CID of the card
                              (set to 0xFF if you don't use CIDs)
   BYTE nad                 : NAD of the card
                              (set to 0xFF if you don't use NADs)
   const BYTE send_buffer[] : buffer to send to the card
   WORD send_len            : length of send_buffer (max 256)
   BYTE recv_buffer[]       : buffer for card's answer
   WORD *recv_len           : input  : size of recv_buffer 
                              output : actual length of reply
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK                    : success
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   I-Block chaining is automatically performed by the reader according to the
   FSCI parameter.
   Wait Time eXtension S-Block coming from the card are also handled directly
   by the reader.
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo115">SPROX_TclA_GetAts</a>
   <a class="LINK_37" href="#robo113">SPROX_TclA_Deselect</a>
</pre>
</span>


<h2><a name="robo115"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fGetAts">
SPROX_TclA_GetAts</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_GetAts</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL RATS command to enter ISO 14443-A-4 dialog
   with currently selected card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid           : CID to affect to the card
                        (set to 0xFF if you don't use CIDs)
   BYTE ats[32]       : buffer to receive the Answer To Select of the card
   BYTE *atslen       : input  = size of the ats buffer
                        output = actual ats length 
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success, T=CL dialog with the card activated
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo113">SPROX_TclA_Deselect</a>
   <a class="LINK_37" href="#robo117">SPROX_TclA_Pps</a>
</pre>
</span>


<h2><a name="robo116"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fHalt">
SPROX_TclA_Halt</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_Halt</strong>
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo19">SPROX_A_Halt</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   If card is already in T=CL mode, you must DESELECT the card instead of
   HALTing it.
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo19">SPROX_A_Halt</a>
   <a class="LINK_37" href="#robo113">SPROX_TclA_Deselect</a>
</pre>
</span>


<h2><a name="robo117"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclA5fPps">
SPROX_TclA_Pps</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclA_Pps</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send a T=CL PPS command according to ISO 14443-A-4 dialog
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid           : CID of the card
                        (set to 0xFF if you don't use CIDs)
   BYTE dsi           : DSI parameter according to ISO 14443-A
   BYTE dri           : DRI parameter according to ISO 14443-A
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   After a successfull PPS negociation, the reader is automatically configured
   according to DSI and DRI before returning MI_OK.
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This feature is still experimental. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo115">SPROX_TclA_GetAts</a>
</pre>
</span>


<h2><a name="robo118"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fActivateAny">
SPROX_TclB_ActivateAny</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_ActivateAny</strong> 
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo29">SPROX_B_SelectAny</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   This function is nothing more than an alias to <a class="LINK_23" href="./sprox_14443-3_c.html#robo29">SPROX_B_SelectAny</a>, the
   only difference is in the validation of the returned ATQ when a card is
   found :
   - if ATQ shows that the card supports ISO/IEC 14443-4 (aka T=CL), the
     function returns MI_OK
   - if ATQ shows that the card doesn't support ISO/IEC 14443-4 (for example,
     a memory card), the function returns MI_CARD_NOT_TCL
   Of course if no card is found, the function returns MI_NOTAGERR
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo29">SPROX_B_SelectAny</a> 
   <a class="LINK_37" href="#robo119">SPROX_TclB_ActivateIdle</a>
</pre>
</span>


<h2><a name="robo119"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fActivateIdle">
SPROX_TclB_ActivateIdle</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_ActivateIdle</strong>
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo30">SPROX_B_SelectIdle</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   This function is nothing more than an alias to <a class="LINK_23" href="./sprox_14443-3_c.html#robo30">SPROX_B_SelectIdle</a>, the
   only difference is in the validation of the returned ATQ when a card is
   found :
   - if ATQ shows that the card supports ISO/IEC 14443-4 (aka T=CL), the
     function returns MI_OK
   - if ATQ shows that the card doesn't support ISO/IEC 14443-4 (for example,
     a memory card), the function returns MI_CARD_NOT_TCL
   Of course if no card is found, the function returns MI_NOTAGERR
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo30">SPROX_B_SelectIdle</a>
   <a class="LINK_37" href="#robo118">SPROX_TclB_ActivateAny</a>
</pre>
</span>


<h2><a name="robo120"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fAttrib">
SPROX_TclB_Attrib</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_Attrib</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL ATTRIB command to enter ISO 14443-B-4 dialog specified card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   const BYTE atq[11] : card's ATQ as returned by <a class="LINK_12" href="./sprox_14443-3_c.html#robo30">SPROX_B_SelectIdle</a> or <a class="LINK_12" href="./sprox_14443-3_c.html#robo29">SPROX_B_SelectAny</a>
   BYTE cid           : CID to send to the card
                        (set to 0xFF if you don't use CIDs)
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success, T=CL dialog with the card activated
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo122">SPROX_TclB_Deselect</a>
   <a class="LINK_37" href="#robo121">SPROX_TclB_AttribEx</a>
</pre>
</span>


<h2><a name="robo121"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fAttribEx">
SPROX_TclB_AttribEx</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_AttribEx</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL ATTRIB command to enter ISO 14443-B-4 dialog with specified card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   const BYTE atq[11] : card's ATQ as returned by <a class="LINK_12" href="./sprox_14443-3_c.html#robo30">SPROX_B_SelectIdle</a> or <a class="LINK_12" href="./sprox_14443-3_c.html#robo29">SPROX_B_SelectAny</a>
   BYTE cid           : CID to send to the card
                        (set to 0xFF if you don't use CIDs)
   BYTE dsi           : DSI parameter according to ISO 14443-B
   BYTE dri           : DRI parameter according to ISO 14443-B
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success, T=CL dialog with the card activated
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo122">SPROX_TclB_Deselect</a>
   <a class="LINK_37" href="#robo120">SPROX_TclB_Attrib</a>
</pre>
</span>


<h2><a name="robo122"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fDeselect">
SPROX_TclB_Deselect</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_Deselect</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Send the T=CL DESELECT command to an ISO 14443-B-4 card
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE cid           : CID of the card to DESELECT
                        (set to 0xFF if you don't use CIDs)
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK              : success, card deselected
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo120">SPROX_TclB_Attrib</a>
   <a class="LINK_37" href="./sprox_14443-3_c.html#robo28">SPROX_B_Halt</a>
</pre>
</span>


<h2><a name="robo123"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fExchange">
SPROX_TclB_Exchange</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_Exchange</strong>
</pre>
</span><p class="ITEM">DESCRIPTION</p>
<span class="DESCRIPTION"><pre class="DESCRIPTION">   Perform a T=CL block exchange according to ISO 14443-B-4
</pre>
</span><p class="ITEM">INPUTS</p>
<span class="INPUTS"><pre class="INPUTS">   BYTE fsci                : FSCI parameter according to ISO 14443-B
                              (set to 0xFF for default card value)
   BYTE cid                 : CID of the card
                              (set to 0xFF if you don't use CIDs)
   BYTE nad                 : NAD of the card
                              (set to 0xFF if you don't use NADs)
   const BYTE send_buffer[] : buffer to sens to the card
   WORD send_len            : length of send_buffer (max 256)
   BYTE recv_buffer[]       : buffer for card's answer
   WORD *recv_len           : input  : size of recv_buffer 
                              output : actual length of reply
</pre>
</span><p class="ITEM">RETURNS</p>
<span class="RETURNS"><pre class="RETURNS">   MI_OK                    : success
   Other code if internal or communication error has occured. 
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   I-Block chaining is automatically performed by the reader according to the
   FSCI parameter.
   Wait Time eXtension S-Block coming from the card are also handled directly
   by the reader.
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="#robo120">SPROX_TclB_Attrib</a>
   <a class="LINK_37" href="#robo122">SPROX_TclB_Deselect</a>
</pre>
</span>


<h2><a name="robo124"><span class="TYPE">[Functions]</span><a class="LABEL" name="SPROX5fTclB5fHalt">
SPROX_TclB_Halt</a></h2>

<p class="NAV">[<a class="NAV" href="#robo_top_of_doc">top</a>][<a class="NAV" href="./Copie de springprox_h.html#robo1">parent</a>][<a class="NAV" href="./functions.html#top">index</a>]</p>
<p class="ITEM">NAME</p>
<span class="NAME"><pre class="NAME">   <strong>SPROX_TclB_Halt</strong>
</pre>
</span><p class="ITEM">WARNING</p>
<span class="WARNING"><pre class="WARNING">   This function is deprecated. Use <a class="LINK_28" href="./sprox_14443-3_c.html#robo28">SPROX_B_Halt</a> instead.
</pre>
</span><p class="ITEM">NOTES</p>
<span class="NOTES"><pre class="NOTES">   If card is already in T=CL mode, you must DESELECT the card instead of
   HALTing it.
</pre>
</span><p class="ITEM">SEE ALSO</p>
<span class="SEE_ALSO"><pre class="SEE ALSO">   <a class="LINK_37" href="./sprox_14443-3_c.html#robo28">SPROX_B_Halt</a>
   <a class="LINK_37" href="#robo122">SPROX_TclB_Deselect</a>
</pre>
</span>
<hr />
Generated from <b>sprox_14443-4.c</b> on Thu Jun 24 12:26:30 2010<br />
</body>
</html>
